package com.spzx.product.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.spzx.product.domain.Product;

public interface ProductService extends IService<Product> {

    Page<Product> selectProductPage(Product product);


    int saveProduct(Product product);

    Product selectProductById(Long id);

    int updateStatus(Long id, Integer status);

    int updateProduct(Product product);

    int removeProductById(Long id);
}
